package com.heima.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * Author: Administrator
 * CreateTime: 2024/9/17
 * Project: heima-leadnews
 */

@SpringBootApplication
@MapperScan("com.heima.user.mapper")
@EnableDiscoveryClient
public class UserApplication implements WebMvcConfigurer {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }
}
